home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / MEMORY / VIRTUASRC / !Virtual / printf / Makefile next >
Makefile  |  1993-04-20  |  829b  |  49 lines

  1. # Project name:   printf
  2. #
  3. # AMU Makefile for printf module
  4. # By Nick Smith, 1993
  5.  
  6. # Toolflags:
  7. SQUEEZE = squeeze -v
  8. MSQUEEZE = modsqz -v
  9. DEPEND = -depend !Depend
  10. CFLAGS= $(DEPEND) -c -zM -ffah -wf -throwback -I^
  11. CC=cc
  12. LN = link -rmf
  13. AS = aasm $(DEPEND) -throwback -m -q
  14.  
  15. # Dependencies
  16.  
  17. LIBS = c:stubs.o c:risc_oslib.o
  18.  
  19. FSFILES = ^.FSLIB
  20.  
  21. FSLIB = $(FSFILES) $(LIBS)
  22.  
  23. PRINTFBITS = printf.o cprintf.o
  24.  
  25. # Targets
  26.  
  27. all: printf
  28.  
  29. printf: $(PRINTFBITS) $(LIBS)
  30.         $(LN) -o $@ $(PRINTFBITS) $(LIBS)
  31. #        $(MSQUEEZE) $@
  32. #        $(SQUEEZE) $@
  33.  
  34. clean:
  35.         remove printf
  36.         wipe o.* ~v~c
  37.  
  38. .SUFFIXES: .cmhg .o .s .c
  39. .c.o :
  40.                 $(CC) $(CFLAGS) $<
  41. .s.o :
  42.                 objasm $(DEPEND) $< $@ -stamp -quit
  43. .cmhg.o :
  44.                 cmhg $< $@
  45.  
  46. # Dynamic dependencies:
  47. o.cprintf:    c.cprintf
  48. o.cprintf:    c:h.kernel
  49.